package com.friddle.Download;

import com.friddle.Download.PageGet.AntiStrategy;
import com.friddle.Download.PageGet.GetConfigure;
import com.friddle.Download.PageGet.PageResult;

import java.util.Map;

/**
 * Created by friddle on 15/4/7.
 */
public interface Download {
    public void initDownload(Map<String,String> values) throws Exception;
    public PageResult getPageContent(String url,GetConfigure configure,AntiStrategy strategy) throws  Exception;
}
